package com.group.www.pojo;

import java.io.Serializable;
import java.util.Date;

public class CartInfo implements Serializable {
    private Integer cartid;

    private Integer userid;

    private Integer goodsid;

    private Integer goodsnums;

    private Date addcarttime;

    private static final long serialVersionUID = 1L;

    public Integer getCartid() {
        return cartid;
    }

    public void setCartid(Integer cartid) {
        this.cartid = cartid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getGoodsid() {
        return goodsid;
    }

    public void setGoodsid(Integer goodsid) {
        this.goodsid = goodsid;
    }

    public Integer getGoodsnums() {
        return goodsnums;
    }

    public void setGoodsnums(Integer goodsnums) {
        this.goodsnums = goodsnums;
    }

    public Date getAddcarttime() {
        return addcarttime;
    }

    public void setAddcarttime(Date addcarttime) {
        this.addcarttime = addcarttime;
    }

    public CartInfo() {
    }

    public CartInfo(Integer cartid, Integer userid, Integer goodsid, Integer goodsnums, Date addcarttime) {
        this.cartid = cartid;
        this.userid = userid;
        this.goodsid = goodsid;
        this.goodsnums = goodsnums;
        this.addcarttime = addcarttime;
    }

    @Override
    public String toString() {
        return "CartInfo{" +
                "cartid=" + cartid +
                ", userid=" + userid +
                ", goodsid=" + goodsid +
                ", goodsnums=" + goodsnums +
                ", addcarttime=" + addcarttime +
                '}';
    }
}